<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader: sb_file_format.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Common bootloader for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('sb__file__format_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">sb_file_format.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2013, Freescale Semiconductor, Inc.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without modification,</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * are permitted provided that the following conditions are met:</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * o Redistributions of source code must retain the above copyright notice, this list</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *   of conditions and the following disclaimer.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * o Redistributions in binary form must reproduce the above copyright notice, this</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *   list of conditions and the following disclaimer in the documentation and/or</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *   other materials provided with the distribution.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * o Neither the name of Freescale Semiconductor, Inc. nor the names of its</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *   contributors may be used to endorse or promote products derived from this</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *   software without specific prior written permission.</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#if !defined(_SB_FILE_FORMAT_H_)</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define _SB_FILE_FORMAT_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;bootloader_common.h&quot;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">// Definitions</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#pragma pack(push)</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#pragma pack(1)</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">enum</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;{</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="group__sb__file__format.html#gga4caf8d8f829279fba122163d961608a4af3772a8a2c141ecd55e7bf3f7940155e">   48</a></span>&#160;    <a class="code" href="group__sb__file__format.html#gga4caf8d8f829279fba122163d961608a4af3772a8a2c141ecd55e7bf3f7940155e">ROM_DISPLAY_PROGRESS</a> = (1 &lt;&lt; 0), </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="group__sb__file__format.html#gga4caf8d8f829279fba122163d961608a4a508a440c599acdf52cff16397cd58fe2">   49</a></span>&#160;    <a class="code" href="group__sb__file__format.html#gga4caf8d8f829279fba122163d961608a4a508a440c599acdf52cff16397cd58fe2">ROM_VERBOSE_PROGRESS</a> = (1 &lt;&lt; 1)  </div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;};</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="group__sb__file__format.html">   53</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_sb_version</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;{</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    uint16_t m_major;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    uint16_t m_pad0;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    uint16_t m_minor;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    uint16_t m_pad1;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    uint16_t m_revision;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    uint16_t m_pad2;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;} <a class="code" href="group__sb__file__format.html#structsb__version__t">sb_version_t</a>;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="group__sb__file__format.html">   82</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_sb_image_header</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;{</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    uint8_t m_digest[20];              <span class="comment">// !&lt; SHA-1 digest of image header. Also used as the crypto IV.</span></div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    uint32_t m_signature;              <span class="comment">// !&lt; &#39;STMP&#39;, see #BOOT_SIGNATURE.</span></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    uint8_t m_majorVersion;            <span class="comment">// !&lt; Major version for the image format, see #SB_FILE_MAJOR_VERSION.</span></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    uint8_t m_minorVersion;            <span class="comment">// !&lt; Minor version of the boot image format.</span></div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    uint16_t m_flags;                  <span class="comment">// !&lt; Flags or options associated with the entire image.</span></div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    uint32_t m_imageBlocks;            <span class="comment">// !&lt; Size of entire image in blocks.</span></div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    uint32_t m_firstBootTagBlock;      <span class="comment">// !&lt; Offset from start of file to the first boot tag, in blocks.</span></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    uint32_t m_firstBootableSectionID; <span class="comment">// !&lt; ID of section to start booting from.</span></div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    uint16_t m_keyCount;               <span class="comment">// !&lt; Number of entries in DEK dictionary.</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    uint16_t m_keyDictionaryBlock;     <span class="comment">// !&lt; Starting block number for the key dictionary.</span></div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    uint16_t m_headerBlocks;           <span class="comment">// !&lt; Size of this header, including this size word, in blocks.</span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    uint16_t m_sectionCount;           <span class="comment">// !&lt; Number of section headers in this table.</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    uint16_t m_sectionHeaderSize;      <span class="comment">// !&lt; Size in blocks of a section header.</span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    uint8_t m_padding0[2];             <span class="comment">// !&lt; Padding to align #m_timestamp to long word.</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    uint32_t</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        m_signature2; <span class="comment">// !&lt; Second signature to distinguish this .sb format from the 36xx format, see #BOOT_SIGNATURE2.</span></div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    uint64_t m_timestamp;            <span class="comment">// !&lt; Timestamp when image was generated in microseconds since 1-1-2000.</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <a class="code" href="group__sb__file__format.html#structsb__version__t">sb_version_t</a> m_productVersion;   <span class="comment">// !&lt; Product version.</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <a class="code" href="group__sb__file__format.html#structsb__version__t">sb_version_t</a> m_componentVersion; <span class="comment">// !&lt; Component version.</span></div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    uint16_t m_driveTag;             <span class="comment">// !&lt; Drive tag for the system drive which this boot image belongs to.</span></div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    uint8_t m_padding1[6];           <span class="comment">// !&lt; Padding to round up to next cipher block.</span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;} <a class="code" href="group__sb__file__format.html#structsb__image__header__t">sb_image_header_t</a>;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="group__sb__file__format.html">  111</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_sb_dek_dictionary_entry</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;{</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="group__sb__file__format.html#ac20c791b69ea03eb6c6cbfcbe58441a4">  113</a></span>&#160;    uint8_t m_mac[16]; </div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="group__sb__file__format.html#aaabf2d0ff2e2279f52aec66857aed60e">  114</a></span>&#160;    uint8_t m_dek[16]; </div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;} <a class="code" href="group__sb__file__format.html#structsb__dek__dictionary__entry__t">sb_dek_dictionary_entry_t</a>;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="group__sb__file__format.html">  118</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_sb_dek_dictionary</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;{</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <a class="code" href="group__sb__file__format.html#structsb__dek__dictionary__entry__t">sb_dek_dictionary_entry_t</a> m_entries[1];</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;} <a class="code" href="group__sb__file__format.html#structsb__dek__dictionary__t">sb_dek_dictionary_t</a>;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="keyword">enum</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;{</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="group__sb__file__format.html#gga96a58e29e8dbf2b5bdeb775cba46556ea38cc512e287d441e317ec2bba9b3b0c0">  126</a></span>&#160;    <a class="code" href="group__sb__file__format.html#gga96a58e29e8dbf2b5bdeb775cba46556ea38cc512e287d441e317ec2bba9b3b0c0">ROM_SECTION_BOOTABLE</a> = (1 &lt;&lt; 0), </div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="group__sb__file__format.html#gga96a58e29e8dbf2b5bdeb775cba46556ea3973a06d46c03b5607ca7f44d2b58deb">  127</a></span>&#160;    <a class="code" href="group__sb__file__format.html#gga96a58e29e8dbf2b5bdeb775cba46556ea3973a06d46c03b5607ca7f44d2b58deb">ROM_SECTION_CLEARTEXT</a> =</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        (1 &lt;&lt; 1) </div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;};</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="group__sb__file__format.html">  133</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_sb_section_header</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;{</div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="group__sb__file__format.html#a33d4709b12c734af66fd03ca05e8144d">  135</a></span>&#160;    uint32_t <a class="code" href="group__sb__file__format.html#a33d4709b12c734af66fd03ca05e8144d">m_tag</a>;    </div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="group__sb__file__format.html#a597c4377a034247f9a3fee82bff09570">  136</a></span>&#160;    uint32_t <a class="code" href="group__sb__file__format.html#a597c4377a034247f9a3fee82bff09570">m_offset</a>; </div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="group__sb__file__format.html#a5f3283a6d9bb737c764db3cc67b86560">  137</a></span>&#160;    uint32_t <a class="code" href="group__sb__file__format.html#a5f3283a6d9bb737c764db3cc67b86560">m_length</a>; </div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="group__sb__file__format.html#af1942661f0661ce44cb8e6f4af7df19a">  138</a></span>&#160;    uint32_t <a class="code" href="group__sb__file__format.html#af1942661f0661ce44cb8e6f4af7df19a">m_flags</a>;  </div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;} <a class="code" href="group__sb__file__format.html#structsb__section__header__t">sb_section_header_t</a>;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="group__sb__file__format.html">  157</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_sb_section_table</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;{</div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="group__sb__file__format.html#a1ae00d47a3f19d5fedad9b5e3fb63752">  159</a></span>&#160;    <a class="code" href="group__sb__file__format.html#structsb__section__header__t">sb_section_header_t</a> m_sections[1]; </div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;} <a class="code" href="group__sb__file__format.html#structsb__section__table__t">sb_section_table_t</a>;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="preprocessor">#pragma pack(pop)</span></div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="preprocessor">#endif // _SB_FILE_FORMAT_H_</span></div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="comment">// EOF</span></div><div class="ttc" id="group__sb__file__format_html_gga4caf8d8f829279fba122163d961608a4af3772a8a2c141ecd55e7bf3f7940155e"><div class="ttname"><a href="group__sb__file__format.html#gga4caf8d8f829279fba122163d961608a4af3772a8a2c141ecd55e7bf3f7940155e">ROM_DISPLAY_PROGRESS</a></div><div class="ttdoc">Print progress reports. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:48</div></div>
<div class="ttc" id="group__sb__file__format_html_structsb__section__table__t"><div class="ttname"><a href="group__sb__file__format.html#structsb__section__table__t">sb_section_table_t</a></div><div class="ttdoc">An index of all sections within the boot image. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:157</div></div>
<div class="ttc" id="group__sb__file__format_html_af1942661f0661ce44cb8e6f4af7df19a"><div class="ttname"><a href="group__sb__file__format.html#af1942661f0661ce44cb8e6f4af7df19a">sb_section_header_t::m_flags</a></div><div class="ttdeci">uint32_t m_flags</div><div class="ttdoc">Section flags. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:138</div></div>
<div class="ttc" id="group__sb__file__format_html_gga4caf8d8f829279fba122163d961608a4a508a440c599acdf52cff16397cd58fe2"><div class="ttname"><a href="group__sb__file__format.html#gga4caf8d8f829279fba122163d961608a4a508a440c599acdf52cff16397cd58fe2">ROM_VERBOSE_PROGRESS</a></div><div class="ttdoc">Progress reports are verbose. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:49</div></div>
<div class="ttc" id="group__sb__file__format_html_a5f3283a6d9bb737c764db3cc67b86560"><div class="ttname"><a href="group__sb__file__format.html#a5f3283a6d9bb737c764db3cc67b86560">sb_section_header_t::m_length</a></div><div class="ttdeci">uint32_t m_length</div><div class="ttdoc">Size of section data in blocks. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:137</div></div>
<div class="ttc" id="group__sb__file__format_html_gga96a58e29e8dbf2b5bdeb775cba46556ea38cc512e287d441e317ec2bba9b3b0c0"><div class="ttname"><a href="group__sb__file__format.html#gga96a58e29e8dbf2b5bdeb775cba46556ea38cc512e287d441e317ec2bba9b3b0c0">ROM_SECTION_BOOTABLE</a></div><div class="ttdoc">The section contains bootloader commands. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:126</div></div>
<div class="ttc" id="group__sb__file__format_html_a33d4709b12c734af66fd03ca05e8144d"><div class="ttname"><a href="group__sb__file__format.html#a33d4709b12c734af66fd03ca05e8144d">sb_section_header_t::m_tag</a></div><div class="ttdeci">uint32_t m_tag</div><div class="ttdoc">Unique identifier for this section. High bit must be zero. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:135</div></div>
<div class="ttc" id="group__sb__file__format_html_a597c4377a034247f9a3fee82bff09570"><div class="ttname"><a href="group__sb__file__format.html#a597c4377a034247f9a3fee82bff09570">sb_section_header_t::m_offset</a></div><div class="ttdeci">uint32_t m_offset</div><div class="ttdoc">Offset to section data from start of image in blocks. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:136</div></div>
<div class="ttc" id="group__sb__file__format_html_structsb__image__header__t"><div class="ttname"><a href="group__sb__file__format.html#structsb__image__header__t">sb_image_header_t</a></div><div class="ttdoc">Header for the entire boot image. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:82</div></div>
<div class="ttc" id="group__sb__file__format_html_structsb__dek__dictionary__entry__t"><div class="ttname"><a href="group__sb__file__format.html#structsb__dek__dictionary__entry__t">sb_dek_dictionary_entry_t</a></div><div class="ttdoc">Entry in sb_dek_dictionary_t. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:111</div></div>
<div class="ttc" id="group__sb__file__format_html_structsb__section__header__t"><div class="ttname"><a href="group__sb__file__format.html#structsb__section__header__t">sb_section_header_t</a></div><div class="ttdoc">Information about each section, held in the section table. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:133</div></div>
<div class="ttc" id="group__sb__file__format_html_gga96a58e29e8dbf2b5bdeb775cba46556ea3973a06d46c03b5607ca7f44d2b58deb"><div class="ttname"><a href="group__sb__file__format.html#gga96a58e29e8dbf2b5bdeb775cba46556ea3973a06d46c03b5607ca7f44d2b58deb">ROM_SECTION_CLEARTEXT</a></div><div class="ttdoc">The section is unencrypted. Applies only if the rest of the boot image is encrypted. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:127</div></div>
<div class="ttc" id="group__sb__file__format_html_structsb__version__t"><div class="ttname"><a href="group__sb__file__format.html#structsb__version__t">sb_version_t</a></div><div class="ttdoc">Version struct used in SB files. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:53</div></div>
<div class="ttc" id="group__sb__file__format_html_structsb__dek__dictionary__t"><div class="ttname"><a href="group__sb__file__format.html#structsb__dek__dictionary__t">sb_dek_dictionary_t</a></div><div class="ttdoc">The DEK dictionary always follows the image header, in the next cipher block. </div><div class="ttdef"><b>Definition:</b> sb_file_format.h:118</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_338ee919ab06332dd990fd06235e0397.html">sbloader</a></li><li class="navelem"><b>sb_file_format.h</b></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:48:23 for Kinetis Bootloader by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
